package com.service;

import java.io.IOException;

import com.entity.User;
import com.entity.page.Page;

public interface UserService {

	Page<User> selectByUserPage(int pageNo, String userName, Integer userRole);

	boolean deleteUserById(Integer id);

	User login(String userCode, String userPassword);

	boolean addUser(User user);

	User selectUserById(Long id);

	boolean ucexist(String userCode);
}
